// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Vant from 'vant';
import "../static/reset.css"
import 'vant/lib/index.css';
import { Lazyload } from 'vant';
import "../static/rem.js"
import axios from "axios"
// options 为可选参数，无则不传
Vue.use(Lazyload);
Vue.use(Vant);
Vue.config.productionTip = false
//设置beseUrl
axios.defaults.baseURL = 'https://api.example.com';
Vue.prototype.$axios=axios
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
